package com.legal_documents_backend.mapper;
// 访问数据库
import com.legal_documents_backend.pojo.Case;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CaseMapper {
    List<Case> selectCases(
            @Param("offset") Integer offset,
            @Param("pageSize") Integer pageSize
    );
}
